#ifndef _WIN_TIMER_SET_H_
#define _WIN_TIMER_SET_H_

BOOL win_timerset_open(TIMER_SET_CONTENT* settimer,TIMER_SET_CONTENT* rettimer, BOOL check_starttime);

/*
return value:
	 -1 :   wakeup_year  <= 2000 || wakeup_year>2100
	 -2 :   wakeup_month<0 || wakeup_month>12
	 -3 :   wakeup_day not valied in the wakeup_year & wakeup_month
	 -4 :   on time hour > 23
	 -5 :   on timer minute > 59	 
	 -6 :   duration minute > 59
	 -7 :   add timer the wakeup date & time < current time
	 -8:    add timer conflict with other timers
*/
enum 
{
    ERR_YEAR		= -1,
    ERR_MONTH   	= -2,
	ERR_DATE		= -3,
	ERR_HOUR		= -4,
    ERR_MINUTE  	= -5,	
	ERR_DURATION	= -6,
    ERR_INVALID 	= -7,
	ERR_CONFLICT	= -8,
} TIMER_ERR_T;

#endif//_WIN_TIMER_SET_H_

